package pojo;

import java.util.Date;

import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Created by CHENCO7 on 8/11/2017.
 */
@Embeddable
public class Comment {
    private String content;
    @Temporal(TemporalType.TIMESTAMP)
    private Date comentDate;

    public Comment() {
    }

    public Comment(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getComentDate() {
        return comentDate;
    }

    public void setComentDate(Date comentDate) {
        this.comentDate = comentDate;
    }
}
